import axios from '@/utils/request'

/**
 * 完工标记query
 */
export function childWbsByWbsId(data) {
  return axios({
    url: '/v1/wbs/childWbsByWbsId',
    method: 'post',
    data
  })
}
/**
 * 完工标记配置query
 */
export function wbsTreeByWbsId(data) {
    return axios({
      url: '/v1/wbs/wbsTreeByWbsId',
      method: 'get',
      params:data
    })
  }
/**
 * 标记配置提交
 */
export function markFinish(data) {
  return axios({
    url: '/api/ebsProcess/markFinish',
    method: 'post',
    data
  })
}

/**
 * 选择单位的树
 */
export function wbsTreeByOrgId(data) {
  return axios({
    url: '/v1/markFinishConfig/wbsTreeByOrgId',
    method: 'get',
    params:data
  })
}


  